<?php
declare(strict_types=1);

namespace App\Controllers;

use App\Core\View;

final class HomeController
{
    public function index(): string
    {
        $siteName = 'MyCMS Skeleton';
        return View::render('home', [
            'title' => '欢迎',
            'siteName' => $siteName,
            'message' => '项目骨架已创建成功。你可以开始开发功能模块。',
        ]);
    }
}